package com.example.demo.behavior.command;

/**
 * @Desc:
 * @Author zzz
 * @Date 2021/2/27
 * @Version V1.0
 */
public class CommandTest {
    public static void main(String[] args) {
        Phone phone = new Phone();
        phone.playMp3();
        phone.playMovie();
        phone.setCommand(new Dail());
        phone.invoke();
    }
}
